document.querySelector("button").onclick = () => {
    alert("你好");
  };